using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class SetReportRelatedRequest : OrganizationRequest
	{
		public Guid ReportId
		{
			get
			{
				if (base.Parameters.Contains("ReportId"))
				{
					return (Guid)base.Parameters["ReportId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["ReportId"] = value;
			}
		}
		public int[] Entities
		{
			get
			{
				if (base.Parameters.Contains("Entities"))
				{
					return (int[])base.Parameters["Entities"];
				}
				return null;
			}
			set
			{
				base.Parameters["Entities"] = value;
			}
		}
		public int[] Categories
		{
			get
			{
				if (base.Parameters.Contains("Categories"))
				{
					return (int[])base.Parameters["Categories"];
				}
				return null;
			}
			set
			{
				base.Parameters["Categories"] = value;
			}
		}
		public int[] Visibility
		{
			get
			{
				if (base.Parameters.Contains("Visibility"))
				{
					return (int[])base.Parameters["Visibility"];
				}
				return null;
			}
			set
			{
				base.Parameters["Visibility"] = value;
			}
		}
		public SetReportRelatedRequest()
		{
			base.RequestName = "SetReportRelated";
			this.ReportId = default(Guid);
			this.Entities = null;
			this.Categories = null;
			this.Visibility = null;
		}
	}
}
